package com.wq.sofa.framework.rpc.boot.service.impl;

import com.wq.sofa.framework.rpc.boot.factory.annotations.SofaRpcService;
import com.wq.sofa.framework.service.common.HelloExampleService;

/**
 * @Author: wangqiang20995
 * @Date:2018/10/10
 * @Description:
 * @Resource:
 */
//通过sofa提供的ClientFactory接口，自定义注解实现服务的简单暴露
@SofaRpcService(interfaceType = HelloExampleService.class)
public class HelloExampleServiceImpl implements HelloExampleService {
    @Override
    public String saySync(String str) {
        return "hello --> " + str;
    }
}
